package com.cgc.venus.server.ci.model.dao;
import com.cgc.venus.server.ci.model.entity.CodeSource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 业哥 on 2018/11/7
 */
@Mapper
public interface CodeSourceDao {
    public List<CodeSource> findByKey(@Param("key") String key,@Param("teamId") String teamId);
    public CodeSource findCodeSourceById(@Param("id") String id);
    public int insertCodeSource(@Param("cs") CodeSource cs);
    public int updateCodeSource(@Param("cs") CodeSource cs);
    public int deleteCodeSourceById(@Param("id") String id);
}